package com.leonzx.base.utils;

import java.io.File;

/**
 * @Author:梁亮
 * @Description:
 * @Date: 2018/5/2 17:09
 */
public class Constants {

    public static final Integer STATE_INVAILD = 0;
    public static final Integer STATE_VAILD = 1;

    public static final Integer MENU_PERMISSION = 0;//权限
    public static final Integer MENU_MENU = 1;//菜单

    /**
     * oss文件保存路径前缀
     */
    public static final String FILE_QZ = "static" + File.separator + "files";

    /**
     * jim图片
     */
    public static final String FILE_TYPE_IMG_JIM = "jimImg";

    /**
     * 跟随email的附件
     */
    public static final String FILE_TYPE_EMAIL_FILE = "emailFile";

    /**
     * email
     */
    public static final String FILE_TYPE_EMAIL = "email";

    /**
     * jim视频
     */
    public static final String FILE_TYPE_VIDEO_JIM = "jimVideo";

    /**
     * jim文件
     */
    public static final String FILE_TYPE_FILE_JIM = "jimFile";

    public static final Integer MENU_POSITION_LEFT = 0;//左侧
    public static final Integer MENU_POSITION_TOP = 1;//顶部

    /**
     *附件表用途，用具区分是不是有效的附件
     *
     */
    public static final String BASE_FILE_Y = "1";//永久
    public static final String BASE_FILE_N = "0";//暂存
}
